<?php

namespace Worker\CrawlerBundle\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Input\InputArgument;

class StatusCommand extends ContainerAwareCommand
{

    protected function configure()
    {
        $this->setName("worker:crawler:status");
    }

    public function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln("Gearman Status...");
        $this->getCrawler()->start();
    }
}
